home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / mac / developm / source / rkeyboar.cpt / Reactive Keyboard ƒ / doc < prev    next >
Encoding:
Text File  |  1991-02-07  |  6.9 KB  |  159 lines

  1. \page noheader
  2. \only screen
  3. \tcon Copyright 
  4. \size 300
  5. \style bold
  6. \just center
  7. \size 200
  8. The Reactive Keyboard 1.1
  9. \size 200
  10.  
  11. \only screen
  12. \just center
  13. \pict 131
  14.  
  15. \just center
  16. August 1990
  17. \size 200
  18.  
  19.  
  20. \only print
  21.  
  22. \only print
  23. \style bold
  24. \just center
  25. \size 140
  26. Table of Contents
  27. \only print
  28.  
  29. \itcon 12
  30.  
  31. \page
  32.  
  33.  
  34. Conceived by John J. Darragh and Ian H. Witten
  35. Written by John J. Darragh and Mark L. James
  36.  
  37. Department of Computer Science,
  38. University of Calgary,
  39. Calgary
  40. T2N 1N4,
  41. Canada
  42. Email darragh@cpsc.UCalgary.CA
  43.  
  44.  
  45. The Reactive Keyboard is a text editor with the added feature of predictive text generation. It  provides an alternative means of generating text to the conventional keyboard. Wherever possible it attempts to predict what the user is going to type next. It is described by J.J. Darragh, I.H. Witten,  and M.L. James. ╥The Reactive Keyboard: A predictive typing aid╙IEEE Computer, Vol 23, No.11, pp. 41-49, Nomember 1990, and in a forthcoming book by J.J. Darragh and I.H. Witten entitled ╥The Reactive Keyboard╙ (Cambridge University Press).
  46.  
  47. \style bold
  48. \just center
  49. \size 140
  50. COPYRIGHT AND DISTRIBUTION
  51.  
  52. Copyright ⌐ 1990, John J. Darragh, Ian H. Witten and Mark L. James. Permission is granted to make and distribute copies of this software, provided this disclaimer and copyright notice are preserved on all copies. The software may not, however, be sold or distributed for profit, or included with other software which is sold or distributed for profit, without the permission of the authors.
  53.  
  54. The Reactive Keyboard is free. There is no shareware fee. We encourage you to make and distribute as many copies as you wish, for whomever you wish, as long as it is not for profit. The current version is available electronically via anonymous ftp from cpsc.UCalgary.CA (internet 136.159.2.1). Versions for the IBM PC and Unix are available from the same source.
  55.  
  56. The Reactive Keyboard is provided in source form so that it can be modified to suit different people╒s requirements. If you do modify it, we╒d like to hear about it so that others will be able to benefit from your efforts.
  57.  
  58. The Reactive Keyboard is a demonstration program, not a commercial product. We cannot offer services such as telephone support, mailing lists, or upgrade services.
  59.  
  60. \tcon Predictive Text Generation
  61. \style bold
  62. \just center
  63. \size 140
  64.  PREDICTIVE TEXT GENERATION
  65.  
  66. To enable the Reactive Keyboard to make predictions, a model of previously entered text is created and maintained adaptively. This model contains a large number of recurring selection element sequences (n-grams) with associated occurrence frequencies. In prediction, this model, along with the current context, is used to determine likely continuations. The basic idea is to order context-conditioned candidate strings, which are predicted by the model, according to popularity and display them for selection. Each prediction starts with a different ASCII character, so that the entire character set can always be accessed. A menu interface allows the user to accept all or part of any prediction. Accepted predictions appear to the editor as if the user had typed them in himself.
  67.  
  68. Obviously predictions are not always correct, but they are correct often enough to form the basis of a useful communication device. Since they are created adaptively, based on what the user has already typed in this session or in previous ones, the system conforms to whatever kind of text is being entered. Prediction accuracy improves continually as the user history accumulates.
  69.  
  70.  
  71. \page
  72. \tcon Usage
  73. \style bold
  74. \just center
  75. \size 140
  76. USAGE
  77.  
  78. When the Reactive Keyboard is invoked, two windows appear. Both can be scrolled, zoomed, moved, and resized.
  79.  
  80. The ╥text window╙ (labeled Untitled) contains the text being entered, and is initially empty. Basic text editing facilities are provided for file handling and text manipulation. Only one text window can be open at a time.
  81.  
  82. The ╥predictions window╙ contains the Reactive Keyboard╒s predictions, which form a list at the righthand side of the window. After selecting the predictions window (by clicking the mouse anywhere in it), the mouse can be moved over these predictions and the relevant portions of them will appear highlighted at the current text position. Clicking causes them to be copied into the text buffer and new predictions to be displayed. The standard scroll bar can be used to scroll through the complete list of predictions. The number and length of displayed predictions can be adjusted by changing the window size.
  83.  
  84. Characters preceding the cursor position can be erased by moving the mouse over the context string which is displayed to the left of the predictions. The relative length of the context and prediction in the window can be changed by dragging the vertical separating bar.
  85.  
  86.  
  87. \tcon Priming
  88. \style bold
  89. \just center
  90. \size 140
  91. PRIMING
  92.  
  93. Predictions are based on the text provided to the Reactive Keyboard in the form of a priming file, as well as text entered in the current editing session. For good performance it is essential that the priming file match the character of the text being entered.
  94.  
  95. There is a default priming file used at startup. However, the Reactive Keyboard can be reprimed at any time by selecting ╥Prime from file ...╙ from the File menu. In addition, an option in the Open File dialog box permits priming from a file as it is read. In either case the model can be cleared before priming or not, as required
  96.  
  97.  
  98. \page
  99. \tcon Parameters
  100. \style bold
  101. \just center
  102. \size 140
  103. PARAMETERS
  104.  
  105. The Reactive Keyboard╒s operation is controlled by parameters that can be adjusted by selecting ╥Model Preferences ...╙ from the Options menu.
  106.  
  107. \tcon    Max Frequency
  108. \style bold
  109. \size 120
  110. Maximum Frequency
  111. The maximum frequency retained for any given context.
  112.  
  113. \tcon    Model Order
  114. \style bold
  115. \size 120
  116. Model Order
  117. Controls the depth of a tree built by the Reactive Keyboard that is used to make predictions. The model order is the number of context characters used to make predictions.
  118.  
  119. \tcon    Startup Amount
  120. \style bold
  121. \size 120
  122. Startup Amount
  123. The maximum number of characters read from the priming file. If greater than the size of the priming file, first part of the priming file will be omitted.
  124.  
  125. \tcon    Stop at CR
  126. \style bold
  127. \size 120
  128. Stop predictions at Return
  129. Determines whether or not predictions stop when an end-of-line character is predicted.
  130.  
  131. \tcon    Show SP Tab CR
  132. \style bold
  133. \size 120
  134. Show Space Tab and CR
  135. Replaces these by appropriate visible characters in the predictions window
  136.  
  137. \tcon    Prime File
  138. \style bold
  139. \size 120
  140. Prime File
  141. The default file used to prime the predictive model on startup.
  142.  
  143. \tcon    Zero-Frequency File
  144. \style bold
  145. \size 120
  146. Zero-Frequency File (optional: a built-in default is provided)
  147. Gives all ASCII characters in the order of their expected frequency of appearance in text. The file is a list of 128 characters, each on its own line.
  148.  
  149. \page
  150. \tcon Special Thanks
  151. \style bold
  152. \just center
  153. \size 140
  154. SPECIAL THANKS
  155.  
  156. Special thanks to John Norstad and Northwestern University for the on-line help code.
  157.  
  158.